import {createRouter, createWebHistory} from "vue-router";

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: "/",
            redirect: "/game"
        },
        {
            path: "/game",
            name: "game",
            component: () => import("../components/HelloWorld.vue")
        },
        {
            path: "/love",
            name: "love",
            component: () => import("../views/LoveIndex.vue")
        },
        {
            path: "/shutters",
            component: () => import("../views/ShuttersView.vue")
        },
        {
            path: "/magic",
            component: () => import("../views/MagicView.vue")
        },
        {
            path: "/face",
            component: () => import("../views/FaceChange.vue")
        },
        {
            path:"/black",
            component: () => import("../views/BlackView.vue")
        },
        {
            path:"/white",
            component: () => import("../components/WhiteView.vue")
        }
    ]
});

export default router;